﻿@{
    Layout = "~/Views/Shared/_Root.Head.cshtml";
}
@Html.Widget("body_start_html_tag_after")
<div class="container">
    <div class="row">
        <div class="col-lg-12">
            @Html.Partial("_Notifications")
        </div>
    </div>
</div>
@Html.Action("JavaScriptDisabledWarning", "Common")
<script type="text/javascript">
            AjaxCart.init(false, '.cart-qty', '.wishlist-qty', '#flyout-cart');
</script>
@*ajax loading window*@
<div class="ajax-loading-block-window" style="display: block">
    <div class="loading-image">
    </div>
</div>
@Html.Partial("Header")
@Html.Action("TopMenu", "Catalog") 
@Html.Widget("content_before")
@RenderBody()
@Html.Widget("content_after")
@Html.Action("EuCookieLaw", "Common")
@Html.Action("Footer", "Common")
@Html.Widget("body_end_html_tag_before")

<script>
    $(document).ready(function () {
        $("a[href!='@Url.RouteUrl("ShoppingCart")'][href!='#'][href!=''][target!='_blank'][class!='thumb-popup-link']")
            .not("[id^='main-product-img-lightbox-anchor'],[class^='addthis_button_preferre']")
            .click(function (e) {
            showThrobber('@T("Windalert.Common.Pleasewait")');
        });
        $(".throbber").click(function (e) {
            $(".throbber").hide();
        });
    });
    function showThrobber(message) {
        $('.throbber-header').html(message);
        window.setTimeout(function () {
            $(".throbber").show();
        }, 1000);
    }
</script>



<div class="throbber">
    <div class="curtain">
    </div>
    <div class="curtain-content">
        <div>
            <h1 class="throbber-header">Wait...</h1>
            <p>
                <img class="test" src="@Url.Content("~/WindAlert/Images/throbber-synchronizing.gif")" alt="" />
            </p>
        </div>
    </div>
</div>
